﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace LdtDataEngin.ModuleDetail.BaseModule.UIEExtract
{
    public class UIEModelResponse
    {
        public string Code { get; set; }

        public string Message { get; set; }

        public List<UIEModelNode> Body { get; set; }
    }


    /// <summary>
    /// UIE模型提取接口返回类
    /// </summary>
    public class UIEModelNode
    {
        /// <summary>
        /// 节点/节点属性路径
        /// </summary>
        [JsonProperty("code")]
        public string Code { get; set; }

        /// <summary>
        /// 节点/节点属性值
        /// </summary>
        [JsonProperty("span")]
        public string Span { get; set; }

        /// <summary>
        /// 子节点数据
        /// </summary>
        [JsonProperty("relations")]
        public List<UIEModelNode> Relations { get; set; }
    }

}
